package com.hy.service;

import com.hy.config.CoreFeignConfiguration;
import com.hy.utils.HY_Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "hy-gateway",contextId = "face",configuration = CoreFeignConfiguration.class)
public interface FaceService {


    /**
     * 人脸绑定
     * @param image_Bast64
     * @return
     */
    @PostMapping("hy-frontuser-provider/face/faceRegister.action")
    HY_Result faceRegistration(@RequestBody StringBuffer image_Bast64);

    /**
     * 人脸登录
     * @param image_Bast64
     * @return
     */
    @PostMapping("hy-frontuser-provider/face/faceLogin.action")
    HY_Result faceLogin(@RequestBody StringBuffer image_Bast64);
}
